Optimizing GPU-accelerated Group-By and Aggregation

نویسندگان

  • Tomas Karnagel
  • René Müller
  • Guy M. Lohman
چکیده

The massive parallelism and faster random memory access of Graphics Processing Units (GPUs) promise to further accelerate complex analytics operations such as joins and grouping, but also provide additional challenges to optimizing their performance. There are more implementation alternatives to consider on the GPU, such as exploiting different types of memory on the device and the division of work among processor clusters and threads, and additional performance parameters, such as the size of the kernel grid and the trade-off between the number of threads and the resulting share of resources each thread will get. In this paper, we study in depth offloading to a GPU the grouping and aggregation operator, often the dominant operation in analytics queries after joins. We primarily focus on the design implications of a hash-based implementation, although we also compare it against a sort-based approach. Our study provides (1) a detailed performance analysis of grouping and aggregation on the GPU as the number of groups in the result varies, (2) an analysis of the truncation effects of hash functions commonly used in hashbased grouping, and (3) a simple parametric model for a wide range of workloads with a heuristic optimizer to automatically pick the best implementation and performance parameters at execution time.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Architecture-Aware Optimization on a 1600-core Graphics Processor

The graphics processing unit (GPU) continues to make significant strides as an accelerator in commodity cluster computing for high-performance computing (HPC). For example, three of the top five fastest supercomputers in the world, as ranked by the TOP500, employ GPUs as accelerators. Despite this increasing interest in GPUs, however, optimizing the performance of a GPU-accelerated compute node...

متن کامل

A GPU Accelerated Aggregation Algebraic Multigrid Method

We present an efficient, robust and fully GPU-accelerated aggregation-based algebraic multigrid preconditioning technique for the solution of large sparse linear systems. These linear systems arise from the discretization of elliptic PDEs. The method involves two stages, setup and solve. In the setup stage, hierarchical coarse grids are constructed through aggregation of the fine grid nodes. Th...

متن کامل

Energy-efficient fuzzy control model for GPU-accelerated packet classification

College of Computer Science and Electronic Engineering, Hunan University, Changsha, 410082, China Correspondence Dafang Zhang, College of Computer Science and Electronic Engineering, Hunan University, Changsha, 410082, China. Email: [email protected] Funding information National Science Foundation of China, Grant/Award Number: 61472130; National Basic Research Program of China (973), Grant/Awa...

متن کامل

Optimizing refolding condition for recombinant tissue plasminogen activator

Low molecular size additives such as L-arginine and the redox compounds have been used both in the culturemedium and in vitro refolding to increase recombinant proteins production. Additives increase proteinrefolding and yield of active proteins by suppressing aggregate formation or enhancing refolding process.In this work, a comparative study was performed on refolding of rec...

متن کامل

The aggregation and diffusion of asphaltenes studied by GPU-accelerated dissipative particle dynamics

The heavy crude oil consists of thousands of compounds and much of them have large molecular weights and complex structures. Studying the aggregation and diffusion behavior of asphaltenes can facilitate the understanding of the heavy crude oil. In previous studies, the fused aromatic rings were treated as rigid bodies so that dissipative particle dynamics (DPD) integrated with the quaternion me...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015